<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!-- BEGIN html -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<!-- An AWESEM design (http://www.awesem.com) - Deadline v1.1.1 - Proudly powered by WordPress (http://wordpress.org) -->

<!-- BEGIN head -->
<head profile="http://gmpg.org/xfn/11">

	<!-- Meta Tags -->
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<!-- Title -->
	<title>Deadline</title>

	
	<!-- Favicon -->
	<link rel="shortcut icon" href="images/favicon.ico" />
	
	
	<!-- Stylesheets -->
	<%= stylesheet_link_tag "home/style.css",
			"home/default.css",
			"home/realtv.css",
			"home/styles.css" %>
	
	
	
	<!--[if lte IE 6]>
		<link rel="stylesheet" type="text/css" media="all" href="css/ie6.css" />
	<![endif]-->
	
	
	
	<!-- Theme Hook -->
	<%= javascript_include_tag "home/l10n.js?ver=20101110",
			   "home/jquery/jquery.min.js?ver=1.5",
			   "home/jquery/ui.core.js?ver=1.8.9",
			   "home/jquery/ui.widget.js?ver=1.8.9",
			   "home/jquery/ui.tabs.js?ver=1.8.9",
			   "home/tabbed-widget.js?ver=3.1" %>
	
	
	
	
	

	
	<!-- JS Scripts -->
	<%= javascript_include_tag "home/superfish.js",
			   "home/jquery.color.js",
                           "home/jquery.custom.js",
			   "home/jquery.easing.1.3.js",
			   "home/jquery.codaslider.js",
			   "home/jquery.galleriffic.js",
			   "home/jquery.opacityrollover.js" %>


	<script type="text/javascript">
		jQuery(document).ready(function($) { $('.coda-slider').codaSlider(); });
	</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-23477317-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
		
	<script type="text/javascript">
		jQuery(document).ready(function($) {
		// We only want these styles applied when javascript is enabled
		$('#picture-posts .navigation').css({'width' : '300px', 'position' : 'absolute', 'left' : '320px', 'top' : '45px' });
		$('div.content').css('display', 'block');

		// Initially set opacity on thumbs and add
		// additional styling for hover effect on thumbs
		var onMouseOutOpacity = 0.67;
		$('#thumbs ul.thumbs li').opacityrollover({
			mouseOutOpacity:   onMouseOutOpacity,
			mouseOverOpacity:  1.0,
			fadeSpeed:         'fast',
			exemptionSelector: '.selected'
		});
		
		// Initialize Advanced Galleriffic Gallery
		var gallery = $('#thumbs').galleriffic({
			delay: 2500,
			numThumbs: 16,
			preloadAhead: 10,
			enableTopPager: false,
			enableBottomPager: false,
			maxPagesToShow: 1,
			imageContainerSel: '#slideshow',
			controlsContainerSel: '#controls',
			captionContainerSel: '#caption',
			loadingContainerSel: '#loading',
			renderSSControls: false,
			renderNavControls: false,
			playLinkText: 'Play Slideshow',
			pauseLinkText: 'Pause Slideshow',
			prevLinkText:	 '&lsaquo; Previous Photo',
			nextLinkText: 'Next Photo &rsaquo;',
			nextPageLinkText: 'Next &rsaquo;',
			prevPageLinkText: '&lsaquo; Prev',
			enableHistory: false,
			enableKeyboardNavigation: false,
			autoStart: true,
			syncTransitions: true,
			defaultTransitionDuration: 900,
			onSlideChange: function(prevIndex, nextIndex) {	
				// 'this' refers to the gallery, which is an extension of $('#thumbs')
				this.find('ul.thumbs').children()
				.eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
				.eq(nextIndex).fadeTo('fast', 1.0);
			},
			onPageTransitionOut: function(callback) {
				this.fadeTo('fast', 0.0, callback);
			},
			onPageTransitionIn: function() {
				this.fadeTo('fast', 1.0);
			}
		});
	});
	</script>

		
		
	<!--[if lt IE 8]>
		<script src="js/ie8.js"></script>
	<![endif]-->
	
	<!--[if IE 6]>
		<script src="http://www.awesem.com/deadline/wp-content/themes/deadline/js/DD_belatedPNG.js"></script>
		<script> DD_belatedPNG.fix('img'); </script>
	<![endif]--> 

	
<!-- END head -->
</head>

<!-- BEGIN body -->
<body class="home blog gecko">

	<!-- BEGIN .container -->
	<div id="container">
	
		<!-- BEGIN #top-bar -->
		<div id="top-bar">

		
			<!-- BEGIN #top-bar-inner -->
			<div id="top-bar-inner">
			
				<!-- BEGIN #date -->

				<div id="date">
					<p class="rounded">
						<%
							Time::DATE_FORMATS[:article] = "%A, %B %d, %Y"
						%>
						<%= Date.today.strftime("%A, %B %d, %Y") %>
					</p>
				<!-- END #date -->
				</div>
				
				<!-- BEGIN #secondary-nav -->

				<div id="secondary-nav">
					<div class="menu">
						<ul class="sf-js-enabled">
							<li class="page_item page-item-252">
								
								<%= render "/users/login_box" %>								
								
							</li>
						</ul>
					</div>

	
				<!-- END #secondary-nav -->
				</div>
				
				<!-- BEGIN #feeds -->
				<div id="feeds">
					<a href="">RSS</a>

										
									<!-- END #feeds -->

				</div>
				
			<!-- END #top-bar-inner -->
			</div>
			
		<!-- END #top-bar -->
		</div>
	
		<!-- BEGIN .header -->

		<div id="header" class="clearfix">
			
			<!-- BEGIN #logo -->

			<div id="logo">
								<a href=""><img src="<%= url_for("/images/home/logo.png") %>" alt="Deadline" width="255" height="68" /></a>
							<!-- END #logo -->
			</div>
			
						<!-- BEGIN #banner-header -->
			<div id="banner-header">
				<div class="widget widget_search widget_search_realtv" id="search-2"><!--BEGIN #searchform-->
				<form action="http://www.awesem.com/deadline/" id="searchform" method="get">
					<div class="search-container">
						<div class="search-inner clearfix">
				
							<label for="s" class="hidden">Search for:</label>
							<input type="text" id="s" name="s" value="">
							<input type="submit" value="Search" id="searchsubmit">
						</div>
				
					</div>
				<!--END #searchform-->
				</form></div>

			<!-- END #banner-header -->

			</div>
						
		<!--END .header-->
		</div>
		
		<!-- BEGIN #primary-nav -->
		<div id="primary-nav" class="rounded">
			
			<%= render "/home/navbar" %>
			
						
		
		<!-- END #primary-nav -->
		</div>
	
		

		<!--BEGIN #content -->
		<div id="content" class="clearfix">
				
			<%= yield :layout %>

		<!-- END #content -->
		</div>
			
		<!-- BEGIN #footer -->

		<div id="footer">
		
			<!-- BEGIN #foot-inner -->
			<div id="foot-inner" class="clearfix">
				
				<div id="text-2" class="widget widget_text foot-widget-one"><h3 class="widget-title">About</h3>			<div class="textwidget"><p>The Deadline theme comes with 5 different colour schemes, support for WP3.0 menus and an extensive set of back-end options.</p>


</div>
		</div>				
				<div id="tz_tweet_widget-2" class="widget tz_tweet_widget foot-widget-two"><h3 class="widget-title">Latest Tweets</h3>			
			<div id="twitter_div" class="clearfix">

				<a href="http://twitter.com/awesemthemes" id="twitter-link">Follow on Twitter</a>

			</div>
			

		
		</div>				
				<div id="linkcat-2" class="widget widget_links foot-widget-three"><h3 class="widget-title">Blogroll</h3>
	<ul class='xoxo blogroll'>
<li><a href="http://codex.wordpress.org/">Documentation</a></li>
<li><a href="http://wordpress.org/extend/plugins/">Plugins</a></li>

<li><a href="http://wordpress.org/extend/ideas/">Suggest Ideas</a></li>
<li><a href="http://wordpress.org/support/">Support Forum</a></li>


	</ul>
</div>
				
				<div id="text-3" class="widget widget_text foot-widget-four">			<div class="textwidget"><div style="text-align:right;"><img src="<%= url_for("/images/home/logo-small.png") %>" width="141" height="26" alt="logo" style="margin-bottom:10px;" />

<p>This little snippet here has been created by using a simple text widget - nice.</p></div></div>
		</div>				
			<!-- END #foot-inner -->

			</div>

		
		<!-- END #footer -->
		</div>
		
		<!-- BEGIN #foot-notes -->
		<div id="foot-notes">
		
			<p class="copyright">&copy; 2010 <a href="http://www.awesem.com/deadline">Deadline</a></p>

			
			<p class="credit">Powered by <a href="http://wordpress.org/">WordPress</a> | <a href="http://www.awesem.com/deadline/">Deadline Theme</a> : An <a href="http://www.awesem.co.uk/">AWESEM</a> design</p>
		
		<!-- END #foot-notes -->
		</div>
		
		
	<!-- END #container -->

	</div> 
		
	
	
	
	<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-275978-64']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>			
<!--END body-->
</body>
<!--END html-->
</html>
